public class Arts extends Goods{
    private String artist;
    private String years;

    @Override
    public String toString() {
        return "Arts{" +
                "artist='" + artist + '\'' +
                ", years='" + years + '\'' +
                '}';
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public void setYears(String years) {
        this.years = years;
    }

    public String getArtist() {
        return artist;
    }

    public String getYears() {
        return years;
    }
}
